package com.yunhe.tianhe.rentcars.dao.system;


import com.yunhe.tianhe.rentcars.entity.system.Dept;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeptDao {
    Long save(Dept dept);

    void delete(Long id);

    Long update(Dept dept);

    Dept  findOne(Long id);

    List<Dept> findList();

    List<Dept> findPageList(@Param("offset") Long offset, @Param("limit") Long limit);

    Long pageCount();
}
